<!DOCTYPE html >
<html>
<head>
<meta name="Generator" content="tpshop" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>{$shopinfo.pickup_name}</title>
<link rel="stylesheet" href="__STATIC__/css/weui/weui.min.css">
<style>
.access{-webkit-tap-highlight-color：rgb(0,0,0.1)}
.shopimage{clear: both;padding-left: 15px}
.shopimage ul{display: flex;width:100%;flex-wrap:wrap;}
.shopimage ul li{width:30%;list-style: none;margin-right: 5px}
.shopimage ul li img {width:100%;}
</style>
<body>
	<div class="weui-cells">
	            <div class="weui-cell">
	                <div class="weui-cell__hd" style="position: relative;margin-right: 10px;">
	                    <img src="{$shopinfo.pickup_logo}" style="width: 50px;display: block">
	                </div>
	                <div class="weui-cell__bd">
	                    <p>{$shopinfo.pickup_name}</p>
	                    <p style="font-size: 13px;color: #888888;">摘要信息</p>
	                </div>
	            </div>
	            <a class="weui-cell weui-cell_access" href="javascript:openmap();">
                    <div class="weui-cell__hd"><img src="" alt="" style="width:20px;margin-right:5px;display:block">
                    </div>
                    <div class="weui-cell__bd">
                        <span style="vertical-align: middle;color:#666;font-size:14px">{$shopinfo.province_name}{$shopinfo.city_name}{$shopinfo.district_name}{$shopinfo.pickup_address}</span>
                    </div>
                    <div class="weui-cell__ft"></div>
                </a>
	           
	             <a class="weui-cell" href="javascript:;">
	            	<div class="weui-cell__hd"><img src="" alt="" style="width:20px;margin-right:5px;display:block">
	            	</div>
	                <div class="weui-cell__bd">
	                    <span style="vertical-align: middle;color:#666;font-size:14px">8:00-21:00</span>
	                </div>
	                <div class="weui-cell__ft"></div>
	            </a>
	             <a class="weui-cell" href="javascript:;">
	            	<div class="weui-cell__hd"><img src="" alt="" style="width:20px;margin-right:5px;display:block">
	            	</div>
	                <div class="weui-cell__bd">
	                    <span style="vertical-align: middle;color:#666;font-size:14px">{$shopinfo.pickup_contact}</span>
	                </div>
	                <div class="weui-cell__ft"></div>
	            </a>
	             <a class="weui-cell weui-cell_access" href="tel:{$shopinfo.pickup_phone}">
	            	<div class="weui-cell__hd"><img src="" alt="" style="width:20px;margin-right:5px;display:block">
	            	</div>
	                <div class="weui-cell__bd">
	                    <span style="vertical-align: middle;color:#666;font-size:14px">{$shopinfo.pickup_phone}</span>
	                </div>
	                <div class="weui-cell__ft"></div>
	            </a>
	            <a class="weui-cell" href="###">
	            	<div class="weui-cell__hd"><img src="" alt="" style="width:20px;margin-right:5px;display:block">
	            	</div>
	                <div class="weui-cell__bd">
	                    <span style="vertical-align: middle;color:#666;font-size:14px">门店照片</span>
	                </div>
	                <div class="weui-cell__ft"></div>
	            </a>
                <div class="shopimage">
	                <ul>
		                <volist name="pickup_images" id="vo">
		                	<li><img src="{$vo}"></li>
		                </volist>
	                </ul>
                </div>
	</div>
</body>
</html>
<script type="text/javascript" src="__STATIC__/js/jquery.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>

<script>
wx.config({
    debug: false,
    appId: "{$signPackage['appId']}", 
    timestamp: '{$signPackage["timestamp"]}', 
    nonceStr: '{$signPackage["nonceStr"]}', 
    signature: '{$signPackage["signature"]}',
    jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage','onMenuShareQQ','onMenuShareQZone','hideOptionMenu','addCard','getLocation','openLocation','previewImage'] 
});
function openmap(){
	wx.openLocation({
	     latitude: parseFloat('{$shopinfo["lat"]}'),
	     longitude: parseFloat('{$shopinfo["lng"]}'),
	     name: '{$shopinfo.pickup_name}',
	     address: '{$shopinfo.province_name}{$shopinfo.city_name}{$shopinfo.district_name}{$shopinfo.pickup_address}',
	     scale: 14,
	     infoUrl: 'http://weixin.qq.com'
	   });
}
$('.shopimage ul li').click(function(){
	var current_img=$(this).children('img').attr('src');
	wx.previewImage({
	    current: 'http://'+location.host+current_img, // 当前显示图片的http链接
	    urls: ['{$imgstr}'] // 需要预览的图片http链接列表
	});
})
</script>